
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="shortcut icon" type="image/x-icon" href="style/favicon.ico"/>
<link href="style/style.css" rel="stylesheet" type="text/css" />
<link href="style/bootstrap.min.css" rel="stylesheet" type="text/css" />
<script src="js/jquery-3.5.1.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/gatling.js"></script>
<script src="js/menu.js"></script>
<script src="js/ellipsis.js"></script>
<script src="js/all_sessions.js"></script>
<script src="js/stats.js"></script>
<script src="js/highstock.js"></script>
<script src="js/highcharts-more.js"></script>
<script src="js/theme.js"></script>
<script src="js/unpack.js"></script>
<title>Gatling Stats - Global Information</title>
</head>
<body>
<div class="app-container">
<div class="frise"></div>
<div class="head">
  <div class="gatling-open-source">
    <a class="gatling-logo" href="https://gatling.io" target="blank_" title="Gatling Home Page"><img alt="Gatling" src="style/logo.svg"/></a>
    <a class="gatling-documentation" href="https://gatling.io/docs/" target="_blank">Documentation</a>
  </div>
  <a class="enterprise" href="https://gatling.io/enterprise/next-step/" target="_blank">Try <img alt="Gatling Enterprise" src="style/logo-enterprise.svg"/></a></div>
<div class="container details">
  <div class="nav">
    <ul></ul>
  </div>
    <div class="cadre">
      <div class="content">
        <div class="content-header">
          <div class="onglet">
            RinhaBackendSimulation
          </div>
          <div class="sous-menu" id="sousMenu">
            <div class="sous-menu-spacer">
              <div class="item ouvert"><a href="index.html">Global</a></div>
                <div class="item "><a id="details_link" href="#">Details</a></div>
              </div>
            </div>
          </div>
          <div class="content-in">
            <div class="container-article">
            <div class="article">
              
              
<div class="schema-container">

            <div id="ranges" class="schema ranges">
            </div>

            <div class="schema polar">
              <div id="container_number_of_requests"></div>
            </div>
<div class="simulation-card">
  <div class="simulation-version-information">
  <span class="simulation-information-title">Gatling Version</span>
    <span class="simulation-information-item">
      <span class="simulation-information-label">Version: </span>
      <span>3.9.5</span>
    </span>
    <span class="simulation-information-item">
      <span class="simulation-information-label">Released: </span>
      <span>2023-05-10</span>
    </span>
  </div>
  <div id="simulation-information" class="simulation-version-information">
    <span class="simulation-information-title">Run Information</span>
    <div class="simulation-information-container">
      <span class="simulation-information-item">
        <span class="simulation-information-label">Date: </span>
        <span>2023-08-23 15:27:40 GMT</span>
      </span>
      <span class="simulation-information-item">
        <span class="simulation-information-label">Duration: </span>
        <span>3m 24s </span>
      </span>
      <span class="simulation-tooltip simulation-information-item description" title="Description" data-content="davidlins">
        <span class="simulation-information-label">Description: </span>
        <span>davidlins</span>
      </span>

    </div>
  </div>
</div>
</div>

                      <div id="statistics_table_container">
                        <div id="stats" class="statistics extensible-geant collapsed">
                            <div class="title">
                              <div id="statistics_title" class="title_base"><span class="title_base_stats">Stats</span><span class="expand-table">Fixed height</span><span id="toggle-stats" class="toggle-table"></span><span class="collapse-table">Full size</span></div>
                              <div class="right">
                                  <button id="statistics_full_screen" class="statistics-button" onclick="openStatisticsTableModal()">Full Screen</button>
                                  <button class="statistics-button expand-all-button">Expand all groups</button>
                                  <button class="statistics-button collapse-all-button">Collapse all groups</button>
                              </div>
                            </div>
                            <div class="scrollable">
                              <table id="container_statistics_head" class="statistics-in extensible-geant">
                                  <thead>
                                      <tr>
                                          <th rowspan="2" id="col-1" class="header sortable sorted-up"><span>Requests</span></th>
                                          <th colspan="5" class="header"><span class="executions">Executions</span></th>
                                          <th colspan="8" class="header"><span class="response-time">Response Time (ms)</span></th>
                                      </tr>
                                      <tr>
                                          <th id="col-2" class="header sortable"><span>Total</span></th>
                                          <th id="col-3" class="header sortable"><span>OK</span></th>
                                          <th id="col-4" class="header sortable"><span>KO</span></th>
                                          <th id="col-5" class="header sortable"><span>% KO</span></th>
                                          <th id="col-6" class="header sortable"><span><abbr title="Count of events per second">Cnt/s</abbr></span></th>
                                          <th id="col-7" class="header sortable"><span>Min</span></th>
<th id="col-8" class="header sortable"><span>50th pct</span></th>
<th id="col-9" class="header sortable"><span>75th pct</span></th>
<th id="col-10" class="header sortable"><span>95th pct</span></th>
<th id="col-11" class="header sortable"><span>99th pct</span></th>
<th id="col-12" class="header sortable"><span>Max</span></th>
<th id="col-13" class="header sortable"><span>Mean</span></th>
<th id="col-14" class="header sortable"><span><abbr title="Standard Deviation">Std Dev</abbr></span></th>
                                      </tr>
                                  </thead>
                                  <tbody></tbody>
                              </table>
                              <table id="container_statistics_body" class="statistics-in extensible-geant">
                                  <tbody></tbody>
                              </table>
                            </div>
                        </div>
                      </div>
<dialog id="statistics_table_modal" class="statistics-table-modal">
  <div class="statistics-table-modal-header"><button class="button-modal" onclick="closeStatisticsTableModal()">x</button></div>
  <div class="statistics-table-modal-container">
    <div id="statistics_table_modal_content" class="statistics-table-modal-content"></div>
  </div>
</dialog>
<script>
function openStatisticsTableModal () {
  const statsTable = document.getElementById("stats");
  const statsTableModal = document.getElementById("statistics_table_modal");
  const fullScreenButton = document.getElementById("statistics_full_screen");

  fullScreenButton.disabled = true;

  if (typeof statsTableModal.showModal === "function") {
    const statsTableModalContent = document.getElementById("statistics_table_modal_content");

    statsTableModalContent.innerHTML = "";
    statsTableModalContent.appendChild(statsTable);
    statsTableModal.showModal();

    statsTableModal.addEventListener("close", function () {
      const container = document.getElementById("statistics_table_container");

      container.appendChild(statsTable);
      fullScreenButton.disabled = false;
    });
  } else {
    const incompatibleBrowserVersionMessage = document.createElement("div");

    incompatibleBrowserVersionMessage.innerText = "Sorry, the <dialog> API is not supported by this browser.";
    statsTable.insertBefore(incompatibleBrowserVersionMessage, statsTable.children[0]);
  }
}

function closeStatisticsTableModal () {
  const statsTableModal = document.getElementById("statistics_table_modal");

  statsTableModal.close();
}
</script>
<div class="statistics extensible-geant collapsed">
    <div class="title">
        Errors
    </div>
    <table id="container_errors" class="statistics-in extensible-geant">
        <thead>
            <tr>
                <th id="error-col-1" class="header sortable"><span>Error</span></th>
                <th id="error-col-2" class="header sortable"><span>Count</span></th>
                <th id="error-col-3" class="header sortable"><span>Percentage</span></th>
            </tr>
        </thead>
		<tbody>
		    
		    <tr>
		    	<td class="error-col-1 total ko">j.n.ConnectException: finishConnect(..) failed: Connection refused<span class="value" style="display:none">0</span></td>
		    	<td class="value error-col-2 total ko">68411</td>
		    	<td class="value error-col-3 total ko">100 %</td>
		    </tr>
		</tbody>
    </table>
</div>

            <div class="schema geant">
              <div id="active_users" class="geant"></div>
            </div>

            <div class="schema geant">
              <div id="responsetimeDistributionContainer" class="geant"></div>
            </div>

            <div class="schema geant">
              <div id="responsetimepercentilesovertimeokPercentilesContainer" class="geant"></div>
            </div>

            <div class="schema geant">
                <div id="requests" class="geant"></div>
            </div>

            <div class="schema geant">
                <div id="responses" class="geant"></div>
            </div>

            </div>
          </div>
        </div>
      </div>
    </div>
</div>
<script>
    var pageStats = stats.stats;
    $(document).ready(function() {
        $('.simulation-tooltip').popover({trigger:'hover', placement:'left'});
        setDetailsLinkUrl();
        setGlobalMenu();
        setActiveMenu();
        fillStats(pageStats);
        
Highcharts.setOptions({
  global: { useUTC: false }
});

var rangesChart = new Highcharts.Chart({
  chart: {
    renderTo: 'ranges',
    marginRight: 100
  },
  credits: { enabled: false },
  legend: { enabled: false },
  title: { text: 'A title to let highcharts reserve the place for the title set later' },
  xAxis: {
    categories: [
      pageStats.group1.htmlName,
      pageStats.group2.htmlName,
      pageStats.group3.htmlName,
      pageStats.group4.htmlName
    ]
  },
  yAxis: {
    title: { text: 'Number of Requests' },
    reversedStacks: false
  },
  tooltip: {
    formatter: function() {
      var s;
      if (this.point.name) { // the pie chart
        s = ''+ this.point.name +': '+ this.y +'% requests';
      } else {
        s = ''+ this.y + ' requests';
      }
      return s;
    }
  },
  plotOptions: {
    series: {
      stacking: 'normal',
      shadow: true
    }
  },
  series: [
    {
      type: 'column',
      data: [{
      	color: '#68b65c',
      	y: pageStats.group1.count
      },
      {
      	color: '#FFDD00',
      	y: pageStats.group2.count
      },
      {
      	color: '#FFA900',
      	y: pageStats.group3.count
      },
      {
      	color: '#f15b4f',
      	y: pageStats.group4.count
      }]
    },
    {
      type: 'pie',
      name: 'Percentages',
      data: [
        {
          name: pageStats.group1.name,
          y: pageStats.group1.percentage,
          color: '#68b65c'
        },
        {
          name: pageStats.group2.name,
          y: pageStats.group2.percentage,
          color: '#FFDD00'
        },
        {
          name: pageStats.group3.name,
          y: pageStats.group3.percentage,
          color: '#FFA900'
        },
        {
          name: pageStats.group4.name,
          y: pageStats.group4.percentage,
          color: '#f15b4f'
        }
      ],
      center: [345, 0],
      size: 90,
      showInLegend: false,
      dataLabels: { enabled: false }
    }
  ]
});

rangesChart.setTitle({
  text: '<span class="chart_title">Response Time Ranges</span>',
  useHTML: true
});

function numberOfRequestsDataForGroup(group) {
  var data = {names: [], oks: [], kos: []};

  $.each(group.contents, function(contentName, content) {
    if (content.type == 'GROUP') {
      var result = numberOfRequestsDataForGroup(content);
      data.names = data.names.concat(result.names);
      data.oks = data.oks.concat(result.oks);
      data.kos = data.kos.concat(result.kos);
    }
    else if (content.type == 'REQUEST') {
      data.names.push(content.path);
      data.oks.push(parseInt(content.stats.numberOfRequests.ok));
      data.kos.push(parseInt(content.stats.numberOfRequests.ko));
    }
  });

  return data;
}

var numberOfRequestsData = numberOfRequestsDataForGroup(stats);
var tickInterval = Math.ceil(numberOfRequestsData.names.length / 1000);

new Highcharts.Chart({
  chart: {
    renderTo:'container_number_of_requests',
    polar:true,
    type:'column',
    height:330
  },
  credits:{
    enabled:false
  },
  title:{
    text:'<span class="chart_title">Number of requests</span>',
    useHTML: true,
    widthAdjust:-20
  },
  xAxis:{
    tickmarkPlacement:'on',
    tickInterval: tickInterval,
    categories:numberOfRequestsData.names,
    labels:{ enabled:false }
  },
  yAxis:{
    min:0,
    reversedStacks: false
  },
  plotOptions:{
    series:{
      stacking:'normal',
      groupPadding:0,
      pointPlacement:'on',
      shadow: true
    }
  },
  legend: {
      borderWidth: 0,
      itemStyle: { fontWeight: "normal" },
      symbolRadius: 0
  },
  series:[
      {
      name:'OK',
      data:numberOfRequestsData.oks,
      color:"#68b65c"
    },
    {
      name:'KO',
      data:numberOfRequestsData.kos,
      color:"#f15b4f"
    }
  ]
});

	    $('#container_exceptions').sortable('#container_exceptions');
    

function generateHtmlRow(request, level, index, parent, group) {
    if (request.name == 'All Requests')
        var url = 'index.html';
    else
        var url = request.pathFormatted + '.html';

    if (group)
        var expandButtonStyle = '';
    else
        var expandButtonStyle = ' hidden';

    if (request.stats.numberOfRequests.total != 0)
        var koPercent = (request.stats.numberOfRequests.ko * 100 / request.stats.numberOfRequests.total).toFixed(0) + '%';
    else
        var koPercent = '-'

    return '<tr id="' + request.pathFormatted + '" data-parent=' + parent + '> \
        <td class="total col-1"> \
          <div class="expandable-container"> \
            <span id="' + request.pathFormatted + '" style="margin-left: ' + (level * 10) + 'px;" class="expand-button' + expandButtonStyle + '">&nbsp;</span> \
            <a href="' + url +'" class="withTooltip">' + ellipsedLabel({ name: request.name, parentClass: "table-cell-tooltip" }) + '</a><span class="value" style="display:none;">' + index + '</span> \
          </div> \
        </td> \
        <td class="value total col-2">' + request.stats.numberOfRequests.total + '</td> \
        <td class="value ok col-3">' + request.stats.numberOfRequests.ok + '</td> \
        <td class="value ko col-4">' + request.stats.numberOfRequests.ko + '</td> \
        <td class="value ko col-5">' + koPercent + '</td> \
        <td class="value total col-6">' + request.stats.meanNumberOfRequestsPerSecond.total + '</td> \
        <td class="value total col-7">' + request.stats.minResponseTime.total + '</td> \
        <td class="value total col-8">' + request.stats.percentiles1.total + '</td> \
        <td class="value total col-9">' + request.stats.percentiles2.total + '</td> \
        <td class="value total col-10">' + request.stats.percentiles3.total + '</td> \
        <td class="value total col-11">' + request.stats.percentiles4.total + '</td> \
        <td class="value total col-12">' + request.stats.maxResponseTime.total + '</td> \
        <td class="value total col-13">' + request.stats.meanResponseTime.total + '</td> \
        <td class="value total col-14">' + request.stats.standardDeviation.total + '</td> \
        </tr>';
}

function generateHtmlRowsForGroup(group, level, index, parent) {
    var buffer = '';

    if (!parent)
        parent = 'ROOT';
    else {
        buffer += generateHtmlRow(group, level - 1, index, parent, true);
        index++;
        parent = group.pathFormatted;
    }

    $.each(group.contents, function(contentName, content) {
        if (content.type == 'GROUP') {
            var result = generateHtmlRowsForGroup(content, level + 1, index, parent);
            buffer += result.html;
            index = result.index;
        }
        else if (content.type == 'REQUEST') {
            buffer += generateHtmlRow(content, level, index, parent);
            index++;
        }
    });

    return { html: buffer, index: index };
}

$('#container_statistics_head tbody').append(generateHtmlRow(stats, 0, 0));

var lines = generateHtmlRowsForGroup(stats, 0, 0);
$('#container_statistics_body tbody').append(lines.html);

$('#container_statistics_head').sortable('#container_statistics_body');
$('.statistics').expandable();

if (lines.index < 30) {
    $('#statistics_title span').attr('style', 'display: none;');
} else {
    $('#statistics_title').addClass('title_collapsed');
    $('#statistics_title').click(function() {
        $('#toggle-stats').toggleClass("off");
        $(this).toggleClass('title_collapsed').toggleClass('title_expanded');
        $('#container_statistics_body').parent().toggleClass('scrollable').toggleClass('');
    });
}
$('.table-cell-tooltip').popover({trigger:'hover'});

	    $('#container_errors').sortable('#container_errors');
    
allUsersData.yAxis = 0;

var allUsersChart = new Highcharts.StockChart({
  chart: {
    renderTo: 'active_users',
    zoomType: 'x'
  },
  credits: { enabled: false },
  legend: {
    enabled: true,
    floating: true,
    align: 'right',
    verticalAlign: 'top',
    layout: 'vertical',
    borderWidth: 0,
    itemStyle: { fontWeight: "normal" },
    symbolRadius: 0
  },
  title: { text: 'A title to let highcharts reserve the place for the title set later' },
  navigator: {
    maskInside: false
  },
  rangeSelector: {
    buttonSpacing: 0,
    buttonTheme: {
      fill: '#CFC9C6',
      padding: 1,
      stroke: '#000000',
      'stroke-width': 0.25,
      style: {
        color: '#000000',
        fontWeight: 'bold',
      },
      states: {
        stroke: '#000000',
        'stroke-width': 0.25,
        hover: {
          fill: '#92918C',
          style: { color: 'black' }
        },
        select: {
          fill: '#FFA900',
          style: { color: 'white' }
        }
      }
    },
    buttons : [
      {
        type : 'minute',
        count : 1,
        text : '1m'
      }, {
        type : 'minute',
        count : 10,
        text : '10m'
      }, {
        type : 'hour',
        count : 1,
        text : '1h'
      }, {
        type : 'all',
        count : 1,
        text : 'All'
      }
    ],
    selected : 3,
    inputEnabled : false
  },
  xAxis: {
    type: 'datetime',
    ordinal: false,
    maxZoom: 10000 // three days
  },
  yAxis: {
    title: { text: 'Number of Active Users' },
    opposite: false,
    min: 0
  },
  series: [
    {
color: '#5E7BE2',
name: 'Busca Inválida de Pessoas',
data: [
  [1692804460000,3],[1692804461000,2],[1692804462000,2],[1692804463000,2],[1692804464000,2],[1692804465000,2],[1692804466000,2],[1692804467000,2],[1692804468000,2],[1692804469000,2],[1692804470000,2],[1692804471000,2],[1692804472000,2],[1692804473000,2],[1692804474000,2],[1692804475000,2],[1692804476000,2],[1692804477000,2],[1692804478000,2],[1692804479000,2],[1692804480000,2],[1692804481000,2],[1692804482000,2],[1692804483000,2],[1692804484000,2],[1692804485000,6],[1692804486000,6],[1692804487000,6],[1692804488000,7],[1692804489000,7],[1692804490000,7],[1692804491000,7],[1692804492000,8],[1692804493000,7],[1692804494000,8],[1692804495000,8],[1692804496000,8],[1692804497000,7],[1692804498000,10],[1692804499000,9],[1692804500000,9],[1692804501000,9],[1692804502000,9],[1692804503000,10],[1692804504000,9],[1692804505000,10],[1692804506000,10],[1692804507000,10],[1692804508000,11],[1692804509000,11],[1692804510000,10],[1692804511000,11],[1692804512000,12],[1692804513000,11],[1692804514000,12],[1692804515000,11],[1692804516000,12],[1692804517000,12],[1692804518000,13],[1692804519000,12],[1692804520000,13],[1692804521000,13],[1692804522000,13],[1692804523000,13],[1692804524000,14],[1692804525000,13],[1692804526000,14],[1692804527000,14],[1692804528000,14],[1692804529000,15],[1692804530000,14],[1692804531000,15],[1692804532000,15],[1692804533000,15],[1692804534000,16],[1692804535000,15],[1692804536000,16],[1692804537000,16],[1692804538000,16],[1692804539000,16],[1692804540000,17],[1692804541000,16],[1692804542000,17],[1692804543000,17],[1692804544000,18],[1692804545000,17],[1692804546000,18],[1692804547000,17],[1692804548000,18],[1692804549000,19],[1692804550000,18],[1692804551000,18],[1692804552000,19],[1692804553000,19],[1692804554000,19],[1692804555000,20],[1692804556000,19],[1692804557000,20],[1692804558000,20],[1692804559000,20],[1692804560000,20],[1692804561000,20],[1692804562000,21],[1692804563000,21],[1692804564000,21],[1692804565000,21],[1692804566000,22],[1692804567000,21],[1692804568000,22],[1692804569000,22],[1692804570000,22],[1692804571000,22],[1692804572000,23],[1692804573000,23],[1692804574000,23],[1692804575000,23],[1692804576000,23],[1692804577000,23],[1692804578000,24],[1692804579000,24],[1692804580000,24],[1692804581000,24],[1692804582000,25],[1692804583000,24],[1692804584000,25],[1692804585000,25],[1692804586000,25],[1692804587000,25],[1692804588000,26],[1692804589000,26],[1692804590000,26],[1692804591000,26],[1692804592000,26],[1692804593000,27],[1692804594000,26],[1692804595000,27],[1692804596000,27],[1692804597000,27],[1692804598000,28],[1692804599000,28],[1692804600000,27],[1692804601000,28],[1692804602000,29],[1692804603000,28],[1692804604000,29],[1692804605000,28],[1692804606000,29],[1692804607000,29],[1692804608000,30],[1692804609000,29],[1692804610000,30],[1692804611000,30],[1692804612000,30],[1692804613000,30],[1692804614000,31],[1692804615000,30],[1692804616000,31],[1692804617000,31],[1692804618000,31],[1692804619000,32],[1692804620000,31],[1692804621000,32],[1692804622000,32],[1692804623000,33],[1692804624000,32],[1692804625000,32],[1692804626000,34],[1692804627000,33],[1692804628000,34],[1692804629000,33],[1692804630000,34],[1692804631000,34],[1692804632000,34],[1692804633000,34],[1692804634000,35],[1692804635000,34],[1692804636000,35],[1692804637000,34],[1692804638000,35],[1692804639000,36],[1692804640000,35],[1692804641000,35],[1692804642000,36],[1692804643000,36],[1692804644000,36],[1692804645000,37],[1692804646000,36],[1692804647000,37],[1692804648000,37],[1692804649000,37],[1692804650000,37],[1692804651000,37],[1692804652000,38],[1692804653000,38],[1692804654000,38],[1692804655000,38],[1692804656000,39],[1692804657000,38],[1692804658000,39],[1692804659000,39],[1692804660000,39],[1692804661000,39],[1692804662000,40],[1692804663000,40],[1692804664000,38]
],
tooltip: { yDecimals: 0, ySuffix: '', valueDecimals: 0 }},
{
color: '#68b65c',
name: 'Criação E Talvez Consulta de Pessoas',
data: [
  [1692804460000,3],[1692804461000,3],[1692804462000,2],[1692804463000,2],[1692804464000,2],[1692804465000,2],[1692804466000,2],[1692804467000,2],[1692804468000,2],[1692804469000,1],[1692804470000,4],[1692804471000,5],[1692804472000,3],[1692804473000,2],[1692804474000,8],[1692804475000,3],[1692804476000,7],[1692804477000,12],[1692804478000,3],[1692804479000,1],[1692804480000,3],[1692804481000,7],[1692804482000,6],[1692804483000,6],[1692804484000,6],[1692804485000,7],[1692804486000,11],[1692804487000,14],[1692804488000,18],[1692804489000,21],[1692804490000,24],[1692804491000,27],[1692804492000,32],[1692804493000,35],[1692804494000,39],[1692804495000,41],[1692804496000,45],[1692804497000,46],[1692804498000,53],[1692804499000,55],[1692804500000,58],[1692804501000,61],[1692804502000,66],[1692804503000,68],[1692804504000,73],[1692804505000,75],[1692804506000,79],[1692804507000,82],[1692804508000,85],[1692804509000,88],[1692804510000,91],[1692804511000,94],[1692804512000,100],[1692804513000,102],[1692804514000,106],[1692804515000,109],[1692804516000,113],[1692804517000,114],[1692804518000,120],[1692804519000,121],[1692804520000,125],[1692804521000,127],[1692804522000,133],[1692804523000,136],[1692804524000,139],[1692804525000,141],[1692804526000,146],[1692804527000,147],[1692804528000,152],[1692804529000,156],[1692804530000,156],[1692804531000,162],[1692804532000,166],[1692804533000,169],[1692804534000,172],[1692804535000,175],[1692804536000,178],[1692804537000,183],[1692804538000,187],[1692804539000,189],[1692804540000,193],[1692804541000,195],[1692804542000,201],[1692804543000,204],[1692804544000,205],[1692804545000,208],[1692804546000,213],[1692804547000,215],[1692804548000,219],[1692804549000,223],[1692804550000,224],[1692804551000,230],[1692804552000,232],[1692804553000,236],[1692804554000,239],[1692804555000,241],[1692804556000,246],[1692804557000,248],[1692804558000,253],[1692804559000,256],[1692804560000,260],[1692804561000,261],[1692804562000,264],[1692804563000,269],[1692804564000,273],[1692804565000,275],[1692804566000,278],[1692804567000,281],[1692804568000,286],[1692804569000,288],[1692804570000,292],[1692804571000,297],[1692804572000,302],[1692804573000,303],[1692804574000,306],[1692804575000,310],[1692804576000,312],[1692804577000,316],[1692804578000,320],[1692804579000,323],[1692804580000,329],[1692804581000,328],[1692804582000,334],[1692804583000,336],[1692804584000,339],[1692804585000,339],[1692804586000,349],[1692804587000,350],[1692804588000,356],[1692804589000,356],[1692804590000,362],[1692804591000,362],[1692804592000,366],[1692804593000,370],[1692804594000,373],[1692804595000,377],[1692804596000,379],[1692804597000,381],[1692804598000,387],[1692804599000,390],[1692804600000,395],[1692804601000,397],[1692804602000,400],[1692804603000,404],[1692804604000,410],[1692804605000,412],[1692804606000,414],[1692804607000,417],[1692804608000,417],[1692804609000,425],[1692804610000,426],[1692804611000,429],[1692804612000,435],[1692804613000,436],[1692804614000,441],[1692804615000,442],[1692804616000,445],[1692804617000,451],[1692804618000,456],[1692804619000,457],[1692804620000,463],[1692804621000,466],[1692804622000,466],[1692804623000,468],[1692804624000,476],[1692804625000,478],[1692804626000,484],[1692804627000,483],[1692804628000,488],[1692804629000,491],[1692804630000,497],[1692804631000,497],[1692804632000,498],[1692804633000,504],[1692804634000,509],[1692804635000,506],[1692804636000,515],[1692804637000,516],[1692804638000,519],[1692804639000,527],[1692804640000,528],[1692804641000,527],[1692804642000,534],[1692804643000,538],[1692804644000,541],[1692804645000,545],[1692804646000,549],[1692804647000,547],[1692804648000,553],[1692804649000,559],[1692804650000,560],[1692804651000,559],[1692804652000,566],[1692804653000,569],[1692804654000,574],[1692804655000,578],[1692804656000,581],[1692804657000,584],[1692804658000,587],[1692804659000,592],[1692804660000,592],[1692804661000,597],[1692804662000,604],[1692804663000,606],[1692804664000,589]
],
tooltip: { yDecimals: 0, ySuffix: '', valueDecimals: 0 }},
{
color: '#f15b4f',
name: 'Busca Válida de Pessoas',
data: [
  [1692804460000,3],[1692804461000,2],[1692804462000,2],[1692804463000,2],[1692804464000,2],[1692804465000,2],[1692804466000,2],[1692804467000,2],[1692804468000,2],[1692804469000,2],[1692804470000,2],[1692804471000,2],[1692804472000,2],[1692804473000,2],[1692804474000,2],[1692804475000,2],[1692804476000,2],[1692804477000,2],[1692804478000,2],[1692804479000,2],[1692804480000,2],[1692804481000,2],[1692804482000,2],[1692804483000,2],[1692804484000,2],[1692804485000,6],[1692804486000,7],[1692804487000,7],[1692804488000,8],[1692804489000,8],[1692804490000,9],[1692804491000,9],[1692804492000,10],[1692804493000,11],[1692804494000,11],[1692804495000,11],[1692804496000,12],[1692804497000,12],[1692804498000,14],[1692804499000,13],[1692804500000,14],[1692804501000,15],[1692804502000,15],[1692804503000,16],[1692804504000,16],[1692804505000,17],[1692804506000,17],[1692804507000,18],[1692804508000,18],[1692804509000,19],[1692804510000,19],[1692804511000,20],[1692804512000,20],[1692804513000,21],[1692804514000,22],[1692804515000,21],[1692804516000,23],[1692804517000,23],[1692804518000,23],[1692804519000,24],[1692804520000,25],[1692804521000,25],[1692804522000,26],[1692804523000,26],[1692804524000,26],[1692804525000,27],[1692804526000,28],[1692804527000,28],[1692804528000,29],[1692804529000,29],[1692804530000,30],[1692804531000,30],[1692804532000,31],[1692804533000,31],[1692804534000,32],[1692804535000,33],[1692804536000,34],[1692804537000,34],[1692804538000,34],[1692804539000,34],[1692804540000,35],[1692804541000,36],[1692804542000,36],[1692804543000,36],[1692804544000,38],[1692804545000,37],[1692804546000,38],[1692804547000,39],[1692804548000,39],[1692804549000,40],[1692804550000,40],[1692804551000,41],[1692804552000,41],[1692804553000,42],[1692804554000,42],[1692804555000,43],[1692804556000,43],[1692804557000,44],[1692804558000,44],[1692804559000,45],[1692804560000,46],[1692804561000,46],[1692804562000,46],[1692804563000,47],[1692804564000,48],[1692804565000,48],[1692804566000,48],[1692804567000,49],[1692804568000,50],[1692804569000,50],[1692804570000,51],[1692804571000,51],[1692804572000,52],[1692804573000,52],[1692804574000,53],[1692804575000,53],[1692804576000,54],[1692804577000,54],[1692804578000,55],[1692804579000,55],[1692804580000,56],[1692804581000,56],[1692804582000,57],[1692804583000,58],[1692804584000,58],[1692804585000,58],[1692804586000,59],[1692804587000,60],[1692804588000,60],[1692804589000,60],[1692804590000,61],[1692804591000,62],[1692804592000,62],[1692804593000,63],[1692804594000,63],[1692804595000,64],[1692804596000,64],[1692804597000,65],[1692804598000,66],[1692804599000,67],[1692804600000,67],[1692804601000,67],[1692804602000,67],[1692804603000,68],[1692804604000,69],[1692804605000,68],[1692804606000,70],[1692804607000,70],[1692804608000,70],[1692804609000,71],[1692804610000,72],[1692804611000,72],[1692804612000,73],[1692804613000,73],[1692804614000,73],[1692804615000,74],[1692804616000,75],[1692804617000,75],[1692804618000,76],[1692804619000,76],[1692804620000,77],[1692804621000,77],[1692804622000,78],[1692804623000,78],[1692804624000,79],[1692804625000,80],[1692804626000,80],[1692804627000,80],[1692804628000,81],[1692804629000,81],[1692804630000,82],[1692804631000,83],[1692804632000,83],[1692804633000,83],[1692804634000,85],[1692804635000,84],[1692804636000,85],[1692804637000,86],[1692804638000,86],[1692804639000,87],[1692804640000,87],[1692804641000,88],[1692804642000,88],[1692804643000,89],[1692804644000,89],[1692804645000,90],[1692804646000,90],[1692804647000,91],[1692804648000,91],[1692804649000,92],[1692804650000,93],[1692804651000,93],[1692804652000,93],[1692804653000,94],[1692804654000,95],[1692804655000,95],[1692804656000,95],[1692804657000,97],[1692804658000,97],[1692804659000,98],[1692804660000,99],[1692804661000,98],[1692804662000,100],[1692804663000,99],[1692804664000,97]
],
tooltip: { yDecimals: 0, ySuffix: '', valueDecimals: 0 }},

    allUsersData
  ]
});


allUsersChart.setTitle({
  text: '<span class="chart_title">Active Users along the Simulation</span>',
  useHTML: true
});

allUsersData.yAxis = 1;

var responsetimeDistributionChart = new Highcharts.Chart({
  chart: {
    renderTo: 'responsetimeDistributionContainer',
    type: 'column',
    marginBottom: 60
  },
  credits: { enabled: false },
  legend: {
    enabled: true,
    floating: true,
    y: 5,
    borderWidth: 0,
    itemStyle: { fontWeight: "normal" },
    symbolRadius: 0
  },
  title: { text: 'A title to let highcharts reserve the place for the title set later' },
  navigator: {
    maskInside: false
  },
  xAxis: {
    categories: ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9'],
    tickInterval: 20
  },
  yAxis: {
    min: 0,
    title: { text: 'Percentage of Requests' },
    reversedStacks: false
  },
  tooltip: {
    formatter: function() {
      return '<b>'+ this.x +' ms</b><br/>'+
      this.series.name +': '+ this.y +' %<br/>'+
      'Total: '+ this.point.stackTotal + ' %';
    }
  },
  plotOptions: {
    series: {
      groupPadding: 0,
      stacking: 'normal',
	    shadow: true
    }
  },
  series: [
  	{
type: 'column',
color: '#68b65c',
name: 'OK',
data: [
  
],
tooltip: { yDecimals: 0, ySuffix: 'ms' }
},
  	{
type: 'column',
color: '#f15b4f',
name: 'KO',
data: [
  83.62,16.24,0.07,0.02,0.01,0.0,0.0,0.0,0.0,0.0
],
tooltip: { yDecimals: 0, ySuffix: 'ms' }
}
  ]
});

responsetimeDistributionChart.setTitle({
  text: '<span class="chart_title">Response Time Distribution</span>',
  useHTML: true
});

var responsetimepercentilesovertimeokPercentiles = unpack([[1692804460,null],[1692804461,null],[1692804462,null],[1692804463,null],[1692804464,null],[1692804465,null],[1692804466,null],[1692804467,null],[1692804468,null],[1692804469,null],[1692804470,null],[1692804471,null],[1692804472,null],[1692804473,null],[1692804474,null],[1692804475,null],[1692804476,null],[1692804477,null],[1692804478,null],[1692804479,null],[1692804480,null],[1692804481,null],[1692804482,null],[1692804483,null],[1692804484,null],[1692804485,null],[1692804486,null],[1692804487,null],[1692804488,null],[1692804489,null],[1692804490,null],[1692804491,null],[1692804492,null],[1692804493,null],[1692804494,null],[1692804495,null],[1692804496,null],[1692804497,null],[1692804498,null],[1692804499,null],[1692804500,null],[1692804501,null],[1692804502,null],[1692804503,null],[1692804504,null],[1692804505,null],[1692804506,null],[1692804507,null],[1692804508,null],[1692804509,null],[1692804510,null],[1692804511,null],[1692804512,null],[1692804513,null],[1692804514,null],[1692804515,null],[1692804516,null],[1692804517,null],[1692804518,null],[1692804519,null],[1692804520,null],[1692804521,null],[1692804522,null],[1692804523,null],[1692804524,null],[1692804525,null],[1692804526,null],[1692804527,null],[1692804528,null],[1692804529,null],[1692804530,null],[1692804531,null],[1692804532,null],[1692804533,null],[1692804534,null],[1692804535,null],[1692804536,null],[1692804537,null],[1692804538,null],[1692804539,null],[1692804540,null],[1692804541,null],[1692804542,null],[1692804543,null],[1692804544,null],[1692804545,null],[1692804546,null],[1692804547,null],[1692804548,null],[1692804549,null],[1692804550,null],[1692804551,null],[1692804552,null],[1692804553,null],[1692804554,null],[1692804555,null],[1692804556,null],[1692804557,null],[1692804558,null],[1692804559,null],[1692804560,null],[1692804561,null],[1692804562,null],[1692804563,null],[1692804564,null],[1692804565,null],[1692804566,null],[1692804567,null],[1692804568,null],[1692804569,null],[1692804570,null],[1692804571,null],[1692804572,null],[1692804573,null],[1692804574,null],[1692804575,null],[1692804576,null],[1692804577,null],[1692804578,null],[1692804579,null],[1692804580,null],[1692804581,null],[1692804582,null],[1692804583,null],[1692804584,null],[1692804585,null],[1692804586,null],[1692804587,null],[1692804588,null],[1692804589,null],[1692804590,null],[1692804591,null],[1692804592,null],[1692804593,null],[1692804594,null],[1692804595,null],[1692804596,null],[1692804597,null],[1692804598,null],[1692804599,null],[1692804600,null],[1692804601,null],[1692804602,null],[1692804603,null],[1692804604,null],[1692804605,null],[1692804606,null],[1692804607,null],[1692804608,null],[1692804609,null],[1692804610,null],[1692804611,null],[1692804612,null],[1692804613,null],[1692804614,null],[1692804615,null],[1692804616,null],[1692804617,null],[1692804618,null],[1692804619,null],[1692804620,null],[1692804621,null],[1692804622,null],[1692804623,null],[1692804624,null],[1692804625,null],[1692804626,null],[1692804627,null],[1692804628,null],[1692804629,null],[1692804630,null],[1692804631,null],[1692804632,null],[1692804633,null],[1692804634,null],[1692804635,null],[1692804636,null],[1692804637,null],[1692804638,null],[1692804639,null],[1692804640,null],[1692804641,null],[1692804642,null],[1692804643,null],[1692804644,null],[1692804645,null],[1692804646,null],[1692804647,null],[1692804648,null],[1692804649,null],[1692804650,null],[1692804651,null],[1692804652,null],[1692804653,null],[1692804654,null],[1692804655,null],[1692804656,null],[1692804657,null],[1692804658,null],[1692804659,null],[1692804660,null],[1692804661,null],[1692804662,null],[1692804663,null],[1692804664,null]]);

var responsetimepercentilesovertimeokPercentilesChart = new Highcharts.StockChart({
  chart: {
    renderTo: 'responsetimepercentilesovertimeokPercentilesContainer',
    zoomType: 'x',
    marginBottom: 60
  },
  colors: ['#c4fd90', '#7ff77f', '#6ff2ad', '#61ede6', '#58c7e0', '#4ea1d4', '#487ad9', '#3f52cc', '#7335dc', '#c73905', '#FFA900'],
  credits: { enabled: false },
  legend: {
    enabled: true,
    floating: true,
    y: -65,
    borderWidth: 0,
    itemStyle: { fontWeight: "normal" },
    symbolRadius: 0
  },
  title: { text: 'A title to let highcharts reserve the place for the title set later' },
  navigator: {
    maskInside: false,
    baseSeries: 9
  },
  rangeSelector: {
    rangeSelector: { align: "left" },
    buttonSpacing: 0,
    buttonTheme: {
      fill: '#CFC9C6',
      padding: 1,
      stroke: '#000000',
      'stroke-width': 0.25,
      style: {
        color: '#000000',
        fontWeight: 'bold',
      },
      states: {
        stroke: '#92918C',
        'stroke-width': 0.25,
        hover: {
          fill: '#92918C',
          style: { color: 'black' }
        },
        select: {
          fill: '#FFA900',
          style: { color: 'white' }
        }
      }
    },
    buttons : [
      {
        type : 'minute',
        count : 1,
        text : '1m'
      }, {
        type : 'minute',
        count : 10,
        text : '10m'
      }, {
        type : 'hour',
        count : 1,
        text : '1h'
      }, {
        type : 'all',
        count : 1,
        text : 'All'
      }
    ],
    selected : 3,
    inputEnabled : false
  },
  xAxis: {
    type: 'datetime',
    ordinal: false,
    maxZoom: 10000 // three days
  },
  yAxis:[
    {
      min: 0,
      title: { text: 'Response Time (ms)' },
      opposite: false
    }, {
      min: 0,
      title: {
        text: 'Active Users',
        style: { color: '#FFA900' }
      },
      opposite: true
    }
  ],
  plotOptions: {
    arearange: { lineWidth: 1 },
    series: {
      dataGrouping: { enabled: false }
    }
  },
  series: [
  
    
         {
pointInterval: 1000,
name: 'min',
data: responsetimepercentilesovertimeokPercentiles[0],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 10
},
         {
pointInterval: 1000,
name: '25%',
data: responsetimepercentilesovertimeokPercentiles[1],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 9
},
         {
pointInterval: 1000,
name: '50%',
data: responsetimepercentilesovertimeokPercentiles[2],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 8
},
         {
pointInterval: 1000,
name: '75%',
data: responsetimepercentilesovertimeokPercentiles[3],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 7
},
         {
pointInterval: 1000,
name: '80%',
data: responsetimepercentilesovertimeokPercentiles[4],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 6
},
         {
pointInterval: 1000,
name: '85%',
data: responsetimepercentilesovertimeokPercentiles[5],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 5
},
         {
pointInterval: 1000,
name: '90%',
data: responsetimepercentilesovertimeokPercentiles[6],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 4
},
         {
pointInterval: 1000,
name: '95%',
data: responsetimepercentilesovertimeokPercentiles[7],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 3
},
         {
pointInterval: 1000,
name: '99%',
data: responsetimepercentilesovertimeokPercentiles[8],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 2
},
         {
pointInterval: 1000,
name: 'max',
data: responsetimepercentilesovertimeokPercentiles[9],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 1
},
  allUsersData
  ]
});

responsetimepercentilesovertimeokPercentilesChart.setTitle({
  text: '<span class="chart_title chart_title_">Response Time Percentiles over Time (OK)</span>',
  useHTML: true
});

var requests = unpack([[1692804460,[6,0,6]],[1692804461,[6,0,6]],[1692804462,[6,0,6]],[1692804463,[6,0,6]],[1692804464,[6,0,6]],[1692804465,[6,0,6]],[1692804466,[6,0,6]],[1692804467,[6,0,6]],[1692804468,[6,0,6]],[1692804469,[6,0,6]],[1692804470,[6,0,6]],[1692804471,[7,0,7]],[1692804472,[9,0,9]],[1692804473,[6,0,6]],[1692804474,[10,0,10]],[1692804475,[7,0,7]],[1692804476,[11,0,11]],[1692804477,[11,0,11]],[1692804478,[11,0,11]],[1692804479,[5,0,5]],[1692804480,[8,0,8]],[1692804481,[9,0,9]],[1692804482,[11,0,11]],[1692804483,[9,0,9]],[1692804484,[7,0,7]],[1692804485,[16,0,16]],[1692804486,[21,0,21]],[1692804487,[26,0,26]],[1692804488,[30,0,30]],[1692804489,[35,0,35]],[1692804490,[37,0,37]],[1692804491,[42,0,42]],[1692804492,[47,0,47]],[1692804493,[49,0,49]],[1692804494,[56,0,56]],[1692804495,[58,0,58]],[1692804496,[62,0,62]],[1692804497,[65,0,65]],[1692804498,[70,0,70]],[1692804499,[75,0,75]],[1692804500,[79,0,79]],[1692804501,[81,0,81]],[1692804502,[86,0,86]],[1692804503,[92,0,92]],[1692804504,[94,0,94]],[1692804505,[99,0,99]],[1692804506,[101,0,101]],[1692804507,[107,0,107]],[1692804508,[110,0,110]],[1692804509,[116,0,116]],[1692804510,[118,0,118]],[1692804511,[121,0,121]],[1692804512,[127,0,127]],[1692804513,[130,0,130]],[1692804514,[136,0,136]],[1692804515,[138,0,138]],[1692804516,[142,0,142]],[1692804517,[146,0,146]],[1692804518,[151,0,151]],[1692804519,[154,0,154]],[1692804520,[159,0,159]],[1692804521,[162,0,162]],[1692804522,[166,0,166]],[1692804523,[171,0,171]],[1692804524,[175,0,175]],[1692804525,[178,0,178]],[1692804526,[182,0,182]],[1692804527,[187,0,187]],[1692804528,[191,0,191]],[1692804529,[195,0,195]],[1692804530,[198,0,198]],[1692804531,[202,0,202]],[1692804532,[207,0,207]],[1692804533,[210,0,210]],[1692804534,[215,0,215]],[1692804535,[219,0,219]],[1692804536,[224,0,224]],[1692804537,[226,0,226]],[1692804538,[230,0,230]],[1692804539,[235,0,235]],[1692804540,[239,0,239]],[1692804541,[243,0,243]],[1692804542,[247,0,247]],[1692804543,[251,0,251]],[1692804544,[255,0,255]],[1692804545,[259,0,259]],[1692804546,[262,0,262]],[1692804547,[267,0,267]],[1692804548,[270,0,270]],[1692804549,[277,0,277]],[1692804550,[278,0,278]],[1692804551,[282,0,282]],[1692804552,[287,0,287]],[1692804553,[291,0,291]],[1692804554,[296,0,296]],[1692804555,[298,0,298]],[1692804556,[303,0,303]],[1692804557,[306,0,306]],[1692804558,[311,0,311]],[1692804559,[315,0,315]],[1692804560,[320,0,320]],[1692804561,[322,0,322]],[1692804562,[327,0,327]],[1692804563,[331,0,331]],[1692804564,[336,0,336]],[1692804565,[339,0,339]],[1692804566,[342,0,342]],[1692804567,[347,0,347]],[1692804568,[351,0,351]],[1692804569,[356,0,356]],[1692804570,[359,0,359]],[1692804571,[362,0,362]],[1692804572,[368,0,368]],[1692804573,[371,0,371]],[1692804574,[377,0,377]],[1692804575,[378,0,378]],[1692804576,[383,0,383]],[1692804577,[386,0,386]],[1692804578,[391,0,391]],[1692804579,[396,0,396]],[1692804580,[398,0,398]],[1692804581,[403,0,403]],[1692804582,[408,0,408]],[1692804583,[411,0,411]],[1692804584,[416,0,416]],[1692804585,[419,0,419]],[1692804586,[423,0,423]],[1692804587,[426,0,426]],[1692804588,[431,0,431]],[1692804589,[437,0,437]],[1692804590,[439,0,439]],[1692804591,[443,0,443]],[1692804592,[446,0,446]],[1692804593,[453,0,453]],[1692804594,[456,0,456]],[1692804595,[459,0,459]],[1692804596,[462,0,462]],[1692804597,[468,0,468]],[1692804598,[471,0,471]],[1692804599,[476,0,476]],[1692804600,[480,0,480]],[1692804601,[482,0,482]],[1692804602,[488,0,488]],[1692804603,[492,0,492]],[1692804604,[496,0,496]],[1692804605,[498,0,498]],[1692804606,[504,0,504]],[1692804607,[508,0,508]],[1692804608,[511,0,511]],[1692804609,[516,0,516]],[1692804610,[519,0,519]],[1692804611,[524,0,524]],[1692804612,[526,0,526]],[1692804613,[532,0,532]],[1692804614,[537,0,537]],[1692804615,[539,0,539]],[1692804616,[543,0,543]],[1692804617,[547,0,547]],[1692804618,[552,0,552]],[1692804619,[556,0,556]],[1692804620,[559,0,559]],[1692804621,[563,0,563]],[1692804622,[568,0,568]],[1692804623,[572,0,572]],[1692804624,[576,0,576]],[1692804625,[580,0,580]],[1692804626,[584,0,584]],[1692804627,[587,0,587]],[1692804628,[592,0,592]],[1692804629,[595,0,595]],[1692804630,[601,0,601]],[1692804631,[603,0,603]],[1692804632,[607,0,607]],[1692804633,[611,0,611]],[1692804634,[618,0,618]],[1692804635,[621,0,621]],[1692804636,[623,0,623]],[1692804637,[627,0,627]],[1692804638,[631,0,631]],[1692804639,[637,0,637]],[1692804640,[640,0,640]],[1692804641,[643,0,643]],[1692804642,[648,0,648]],[1692804643,[652,0,652]],[1692804644,[657,0,657]],[1692804645,[659,0,659]],[1692804646,[664,0,664]],[1692804647,[668,0,668]],[1692804648,[672,0,672]],[1692804649,[675,0,675]],[1692804650,[681,0,681]],[1692804651,[683,0,683]],[1692804652,[689,0,689]],[1692804653,[691,0,691]],[1692804654,[697,0,697]],[1692804655,[701,0,701]],[1692804656,[702,0,702]],[1692804657,[708,0,708]],[1692804658,[712,0,712]],[1692804659,[717,0,717]],[1692804660,[720,0,720]],[1692804661,[723,0,723]],[1692804662,[729,0,729]],[1692804663,[732,0,732]],[1692804664,[1083,0,1083]]]);

var requestsChart = new Highcharts.StockChart({
  chart: {
    renderTo: 'requests',
    zoomType: 'x',
    marginBottom: 60
  },
  credits: { enabled: false },
  legend: {
    enabled: true,
    floating: true,
    y: -65,
    borderWidth: 0,
    itemStyle: { fontWeight: "normal" },
    symbolRadius: 0
  },
  title: { text: 'A title to let highcharts reserve the place for the title set later' },
  navigator: {
    maskInside: false
  },
  rangeSelector: {
    buttonSpacing: 0,
    buttonTheme: {
      fill: '#CFC9C6',
      padding: 1,
      stroke: '#000000',
      'stroke-width': 0.25,
      style: {
        color: '#000000',
        fontWeight: 'bold',
      },
      states: {
        stroke: '#000000',
        'stroke-width': 0.25,
        hover: {
          fill: '#92918C',
          style: { color: 'black' }
         },
         select: {
          fill: '#FFA900',
          style: { color: 'white' }
        }
      }
    },
    buttons : [
      {
        type : 'minute',
        count : 1,
        text : '1m'
      }, {
        type : 'minute',
        count : 10,
        text : '10m'
      }, {
        type : 'hour',
        count : 1,
        text : '1h'
      }, {
        type : 'all',
        count : 1,
        text : 'All'
      }
    ],
    selected : 3,
    inputEnabled : false
  },
  plotOptions: {
    series: {
      dataGrouping: { enabled: false }
    },
    area: {
      stacking: 'normal'
    }
  },
  xAxis: {
    type: 'datetime',
    ordinal: false,
    maxZoom: 10000 // three days
  },
  yAxis:[
    {
      min: 0,
      title: { text: 'Number of requests' },
      opposite: false,
      reversedStacks: false
    }, {
      min: 0,
      title: {
        text: 'Active Users',
        style: { color: '#FFA900' }
      },
      opposite: true
    }
  ],
  series: [
    {
color: '#5E7BE2',
name: 'All',
data: requests[0],
tooltip: { yDecimals: 0, ySuffix: '', valueDecimals: 0 }
,type: 'area'},
    allUsersData
  ]
});

requestsChart.setTitle({
  text: '<span class="chart_title">Number of requests per second</span>',
  useHTML: true
});

var responses = unpack([[1692804460,[6,0,6]],[1692804461,[6,0,6]],[1692804462,[6,0,6]],[1692804463,[6,0,6]],[1692804464,[6,0,6]],[1692804465,[6,0,6]],[1692804466,[6,0,6]],[1692804467,[6,0,6]],[1692804468,[6,0,6]],[1692804469,[6,0,6]],[1692804470,[6,0,6]],[1692804471,[7,0,7]],[1692804472,[9,0,9]],[1692804473,[6,0,6]],[1692804474,[10,0,10]],[1692804475,[7,0,7]],[1692804476,[11,0,11]],[1692804477,[11,0,11]],[1692804478,[11,0,11]],[1692804479,[5,0,5]],[1692804480,[8,0,8]],[1692804481,[9,0,9]],[1692804482,[11,0,11]],[1692804483,[9,0,9]],[1692804484,[7,0,7]],[1692804485,[16,0,16]],[1692804486,[21,0,21]],[1692804487,[26,0,26]],[1692804488,[30,0,30]],[1692804489,[35,0,35]],[1692804490,[37,0,37]],[1692804491,[42,0,42]],[1692804492,[47,0,47]],[1692804493,[49,0,49]],[1692804494,[56,0,56]],[1692804495,[58,0,58]],[1692804496,[62,0,62]],[1692804497,[65,0,65]],[1692804498,[70,0,70]],[1692804499,[75,0,75]],[1692804500,[79,0,79]],[1692804501,[81,0,81]],[1692804502,[86,0,86]],[1692804503,[92,0,92]],[1692804504,[94,0,94]],[1692804505,[98,0,98]],[1692804506,[102,0,102]],[1692804507,[107,0,107]],[1692804508,[110,0,110]],[1692804509,[116,0,116]],[1692804510,[118,0,118]],[1692804511,[121,0,121]],[1692804512,[127,0,127]],[1692804513,[130,0,130]],[1692804514,[136,0,136]],[1692804515,[138,0,138]],[1692804516,[142,0,142]],[1692804517,[146,0,146]],[1692804518,[150,0,150]],[1692804519,[155,0,155]],[1692804520,[159,0,159]],[1692804521,[162,0,162]],[1692804522,[166,0,166]],[1692804523,[171,0,171]],[1692804524,[175,0,175]],[1692804525,[178,0,178]],[1692804526,[182,0,182]],[1692804527,[187,0,187]],[1692804528,[191,0,191]],[1692804529,[194,0,194]],[1692804530,[199,0,199]],[1692804531,[202,0,202]],[1692804532,[207,0,207]],[1692804533,[210,0,210]],[1692804534,[215,0,215]],[1692804535,[219,0,219]],[1692804536,[224,0,224]],[1692804537,[226,0,226]],[1692804538,[230,0,230]],[1692804539,[235,0,235]],[1692804540,[239,0,239]],[1692804541,[243,0,243]],[1692804542,[247,0,247]],[1692804543,[251,0,251]],[1692804544,[255,0,255]],[1692804545,[259,0,259]],[1692804546,[262,0,262]],[1692804547,[267,0,267]],[1692804548,[270,0,270]],[1692804549,[277,0,277]],[1692804550,[278,0,278]],[1692804551,[282,0,282]],[1692804552,[287,0,287]],[1692804553,[291,0,291]],[1692804554,[296,0,296]],[1692804555,[298,0,298]],[1692804556,[303,0,303]],[1692804557,[306,0,306]],[1692804558,[311,0,311]],[1692804559,[315,0,315]],[1692804560,[320,0,320]],[1692804561,[322,0,322]],[1692804562,[327,0,327]],[1692804563,[331,0,331]],[1692804564,[336,0,336]],[1692804565,[339,0,339]],[1692804566,[342,0,342]],[1692804567,[347,0,347]],[1692804568,[351,0,351]],[1692804569,[356,0,356]],[1692804570,[359,0,359]],[1692804571,[362,0,362]],[1692804572,[368,0,368]],[1692804573,[371,0,371]],[1692804574,[377,0,377]],[1692804575,[378,0,378]],[1692804576,[382,0,382]],[1692804577,[387,0,387]],[1692804578,[391,0,391]],[1692804579,[396,0,396]],[1692804580,[398,0,398]],[1692804581,[403,0,403]],[1692804582,[408,0,408]],[1692804583,[411,0,411]],[1692804584,[416,0,416]],[1692804585,[419,0,419]],[1692804586,[423,0,423]],[1692804587,[426,0,426]],[1692804588,[431,0,431]],[1692804589,[437,0,437]],[1692804590,[439,0,439]],[1692804591,[443,0,443]],[1692804592,[446,0,446]],[1692804593,[453,0,453]],[1692804594,[456,0,456]],[1692804595,[459,0,459]],[1692804596,[462,0,462]],[1692804597,[468,0,468]],[1692804598,[471,0,471]],[1692804599,[476,0,476]],[1692804600,[480,0,480]],[1692804601,[482,0,482]],[1692804602,[488,0,488]],[1692804603,[492,0,492]],[1692804604,[496,0,496]],[1692804605,[498,0,498]],[1692804606,[504,0,504]],[1692804607,[507,0,507]],[1692804608,[512,0,512]],[1692804609,[515,0,515]],[1692804610,[520,0,520]],[1692804611,[524,0,524]],[1692804612,[526,0,526]],[1692804613,[532,0,532]],[1692804614,[537,0,537]],[1692804615,[539,0,539]],[1692804616,[543,0,543]],[1692804617,[547,0,547]],[1692804618,[552,0,552]],[1692804619,[556,0,556]],[1692804620,[559,0,559]],[1692804621,[563,0,563]],[1692804622,[568,0,568]],[1692804623,[572,0,572]],[1692804624,[576,0,576]],[1692804625,[580,0,580]],[1692804626,[584,0,584]],[1692804627,[587,0,587]],[1692804628,[592,0,592]],[1692804629,[595,0,595]],[1692804630,[601,0,601]],[1692804631,[603,0,603]],[1692804632,[607,0,607]],[1692804633,[611,0,611]],[1692804634,[618,0,618]],[1692804635,[621,0,621]],[1692804636,[623,0,623]],[1692804637,[627,0,627]],[1692804638,[631,0,631]],[1692804639,[637,0,637]],[1692804640,[640,0,640]],[1692804641,[643,0,643]],[1692804642,[648,0,648]],[1692804643,[652,0,652]],[1692804644,[657,0,657]],[1692804645,[659,0,659]],[1692804646,[664,0,664]],[1692804647,[668,0,668]],[1692804648,[672,0,672]],[1692804649,[675,0,675]],[1692804650,[681,0,681]],[1692804651,[683,0,683]],[1692804652,[689,0,689]],[1692804653,[691,0,691]],[1692804654,[697,0,697]],[1692804655,[701,0,701]],[1692804656,[702,0,702]],[1692804657,[708,0,708]],[1692804658,[712,0,712]],[1692804659,[717,0,717]],[1692804660,[720,0,720]],[1692804661,[723,0,723]],[1692804662,[729,0,729]],[1692804663,[732,0,732]],[1692804664,[1083,0,1083]]]);

var requestsChart = new Highcharts.StockChart({
  chart: {
    renderTo: 'responses',
    zoomType: 'x',
    marginBottom: 60
  },
  credits: { enabled: false },
  legend: {
    enabled: true,
    floating: true,
    y: -65,
    borderWidth: 0,
    itemStyle: { fontWeight: "normal" },
    symbolRadius: 0
  },
  title: { text: 'A title to let highcharts reserve the place for the title set later' },
  navigator: {
    maskInside: false
  },
  rangeSelector: {
    buttonSpacing: 0,
    buttonTheme: {
      fill: '#CFC9C6',
      padding: 1,
      stroke: '#000000',
      'stroke-width': 0.25,
      style: {
        color: '#000000',
        fontWeight: 'bold',
      },
      states: {
        stroke: '#000000',
        'stroke-width': 0.25,
        hover: {
          fill: '#92918C',
          style: { color: 'black' }
         },
         select: {
          fill: '#FFA900',
          style: { color: 'white' }
        }
      }
    },
    buttons : [
      {
        type : 'minute',
        count : 1,
        text : '1m'
      }, {
        type : 'minute',
        count : 10,
        text : '10m'
      }, {
        type : 'hour',
        count : 1,
        text : '1h'
      }, {
        type : 'all',
        count : 1,
        text : 'All'
      }
    ],
    selected : 3,
    inputEnabled : false
  },
  plotOptions: {
    series: {
      dataGrouping: { enabled: false }
    },
    area: {
      stacking: 'normal'
    }
  },
  xAxis: {
    type: 'datetime',
    ordinal: false,
    maxZoom: 10000 // three days
  },
  yAxis:[
    {
      min: 0,
      title: { text: 'Number of responses' },
      opposite: false,
      reversedStacks: false
    }, {
      min: 0,
      title: {
        text: 'Active Users',
        style: { color: '#FFA900' }
      },
      opposite: true
    }
  ],
  series: [
    {
color: '#5E7BE2',
name: 'All',
data: responses[0],
tooltip: { yDecimals: 0, ySuffix: '', valueDecimals: 0 }
},
{
color: '#68b65c',
name: 'OK',
data: responses[1],
tooltip: { yDecimals: 0, ySuffix: '', valueDecimals: 0 }
,type: 'area'},
{
color: '#f15b4f',
name: 'KO',
data: responses[2],
tooltip: { yDecimals: 0, ySuffix: '', valueDecimals: 0 }
,type: 'area'},
    allUsersData,
{
  
type: 'pie',
name: 'Distribution',
data: [
  {name: 'OK', y: 0.0, color: '#68b65c'},{name: 'KO', y: 68411.0, color: '#f15b4f'}
],
center: [775, -40],
size: 70,
showInLegend: false,
dataLabels: { enabled: false },
dataGrouping: { enabled: false }

}

  ]
});

requestsChart.setTitle({
  text: '<span class="chart_title">Number of responses per second</span>',
  useHTML: true
});

    });
</script>
</div>
</body>
</html>
